﻿namespace BlamanticUI.Components.DataBindings;

/// <summary>
/// Represents a template for each row within data banding. This is an abstract class.
/// </summary>
public abstract class GridViewFieldBase : GridViewTemplateBase
{
    /// <summary>
    /// Initializes a new instance of the <see cref="GridViewFieldBase"/> class.
    /// </summary>
    protected GridViewFieldBase()
    {

    }

    /// <summary>
    /// Gets or sets the width of field.
    /// </summary>
    [Parameter] public string? Width { get; set; }

    /// <summary>
    /// Gets or sets the header text in each cell.
    /// </summary>
    [Parameter] public string HeaderText { get; set; }
}
